From 86dac180179e38a218e2ace643680f4de1d0388a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 19 Jan 2001 13:28:32 +0000 Subject: [PATCH] (jit-lock-after-change): If font-lock-multiline is nil, don't check the `font-lock-multiline' text property. --- lisp/jit-lock.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el index 9cd9d2929ec..5fa93f0b94a 100644 --- a/lisp/jit-lock.el +++ b/lisp/jit-lock.el @@ -422,7 +422,8 @@ will take place when text is fontified stealthily." (with-buffer-prepared-for-jit-lock ;; If we're in text that matches a multi-line font-lock pattern, ;; make sure the whole text will be redisplayed. - (when (get-text-property start 'font-lock-multiline) + (when (and font-lock-multiline + (get-text-property start 'font-lock-multiline)) (setq start (or (previous-single-property-change start 'font-lock-multiline) (point-min)))) -- 2.30.2